home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 1
/
Cream of the Crop 1.iso
/
UTILITY
/
DO1002.ARJ
/
MACROS.SCR
< prev
next >
Wrap
Text File
|
1991-12-30
|
3KB
|
83 lines
.pg wi full clr ye pa 1
/BIG M 12
.pa 1 go 1 1 re
/BIG A 21
.pa 1 go 1 1 cy
/BIG C 29
.pa 1 go 1 1 gr
/BIG R 37
.pa 1 go 1 1 wh
/BIG O 45
.pa 1 go 1 1 ma
/BIG S 53
.pa 1 go 1 1 ye
/BIG MACROS 12
.gray
/DRAW H 8 2 76
.wi 1 9 80 25 # .pa 2
»%t«DO»#« supports key macros through the »%t«/MACRO»#« command and the
»ye«DOMACED.EXE»#« program. These key macros allow you to redefine
the keyboard to suit your needs.
This section will discuss the use of the »ye«DOMACED»#« program and
the »%t«/MACRO»#« command. »ye«DOMACED»#« is available only with
the registered version of »%t«DO»#«.
.pg clr wi full gr go 28 7
CREATING MACROS
.wi 1 9 80 25 # pa 2
You must use »ye«DOMACED»#« to create a macro file before you can use
the »%t«/MACRO»#« command in a »%t«DO»#« script.
Start »ye«DOMACED»#« with the command line:
C:> »wh«DOMACED {macro file}»#«
»cy«{macro file}»#« is any DOS file name. We recommend that you use
the extension "»ye«.MAC»#«" to identify these files although this is
not strictly necessary.
.pg
»ye«DOMACED»#« asks you for the key you wish to redefine. If a definition
already exists, it is displayed. If it does not exist then a blank
screen is presented. enter the key sequence you wish to represent.
The following keys have special meaning to »ye«DOMACED»#«:
»bo«<enter>»#« Press when you wish to save your key definition.
»bo«<esc>»#« Press to abort the key definition.
»bo«<scroll lock>»#« Press to enter a dedicated key like »bo«<enter>»#« or »bo«<esc>»#«.
»wh«arrow keys»#« Use to move around the full screen editor.
Once you have left the full-screen editor, »ye«DOMACED»#« asks you if you
wish to continue to define keys. If you do, enter (»gr«Y»#«)es, otherwise
enter (»re«N»#«)o.
.pg
When they are in effect, macro keys will be used in all parts of
the »%t«DO»#« script processor. (»gr«NOTE»cy«: »ye«DO.MAC»cy« is loaded when you edit a
script from the command line using the »ye«/R»cy« or »ye«/E»cy« parameters and
provides some of the functionality for entering special codes.)
.pg wi full clr cy
COMMAND NAME»gray«: »%t« Macros »ye«
/MACROS {OFF|ON {macro file}}
/cw
»wh«Activates/deactivates macros.»#« The »cy«{macro file}»#« must have been
established with »ye«DOMACED»#« prior to use in a »%t«/MACROS»#« command.
»gr«Note»wh«:»#« only »re«one»#« macro file can be in effect at a time. »%t«DO»#« will search
the »gr«DOS PATH»#« for the file if a full pathname is not entered.
EXAMPLES:
»wh«
/MACROS OFF»#«
Deactivates the currently loaded macros.
»wh«
/MACROS ON SCRIPT.MAC»#«
Activates the macros contained in SCRIPT.MAC
/ENDEXEC CLEAR